﻿using System;

class CompanyData
{
    static void Main()
    {
        /*A company has name, address, phone number, fax number,
         * web site and manager. The manager has first name, last name,
         * age and a phone number. Write a program that reads the 
         * information about a company and its manager and prints them on the console
         */

        Console.Write("Company name ");
        string companyName = Console.ReadLine();
        Console.WriteLine("Company address ");
        string address = Console.ReadLine();
        Console.WriteLine("Phone number ");
        string phoneNumber = Console.ReadLine();
        Console.WriteLine("Fax number ");
        string fax = Console.ReadLine();
        Console.WriteLine("Web site ");
        string webSite = Console.ReadLine();

        Console.WriteLine("Manager`s firs name ");
        string managerFirstName = Console.ReadLine();
        Console.WriteLine("Manager`s last name ");
        string managerLastName = Console.ReadLine();
        Console.WriteLine("Manager`s age ");
        string managerAge = Console.ReadLine();
        Console.WriteLine("Manager`s phone number ");
        string managerPhoneNum = Console.ReadLine();

        Console.WriteLine("Company name: {0}", companyName);
        Console.WriteLine("Address: {0}", address);
        Console.WriteLine("Phone number: {0}", phoneNumber);
        Console.WriteLine("Fax number: {0}", fax);
        Console.WriteLine("Web site: {0}", webSite);
        Console.WriteLine("Manager: {0} {1} is {2} years old, his phone number is: {3}", managerFirstName, managerLastName, managerAge, managerPhoneNum);       
    }
}

